Skip to main content

All Questions

3votes
2answers
7kviews

Generate random unit vectors around circle

I'm trying to generate a bunch of uniformly distributed unit vectors around the unit circle. Here's my code, which is working, but unfortunately I have a for-loop. How do I get rid of this for-loop? <...
Seanny123's user avatar

close